#include"pthread.hpp"
#include<string>
#include<iostream>
void Print(int num)
{
  while(num--)
  {
    std::cout<<"num ->"<<num<<std::endl;
  }
}

int main()
{
  Thread<int> t1("name1", Print,10);
  t1.Start();

  std::cout<<t1.IsRunning()<<std::endl;
  t1.Join();
  return 0;
}
